#include "TuGiac.h"


TuGiac::TuGiac()
{
}
void TuGiac::Nhap()
{
	cout << "Nhap toa to dinh thu 1: " << endl;
	d1.Nhap();
	cout << "Nhap toa to dinh thu 2: " << endl;
	d2.Nhap();
	cout << "Nhap toa to dinh thu 3: " << endl;
	d3.Nhap();
	cout << "Nhap toa to dinh thu 4: " << endl;
	d4.Nhap();
}
void TuGiac::Xuat()
{
	cout << "Toa do dinh thu 1: "; d1.Xuat();
	cout << "Toa do dinh thu 2: "; d2.Xuat();
	cout << "Toa do dinh thu 3: "; d3.Xuat();
	cout << "Toa do dinh thu 4: "; d4.Xuat();
}

TuGiac::~TuGiac()
{
}
